package com.numberone.master.modules.profit.entity;

import org.hibernate.validator.constraints.Length;

import com.numberone.master.common.persistence.DataEntity;

/**
 * 账户管理Entity
 * @author ck
 * @version 2018-03-07
 */
public class AccountInfo extends DataEntity<AccountInfo> {
	
	private static final long serialVersionUID = 1L;
	private Long officeId;		// 代理商id
	private String attype;		// 账户类型
	private String zamt;		// 总分润
	private String kamt;		// 分润可提金额
	private String damt;		// 提现未到账金额
	
	public AccountInfo() {
		super();
	}

	public AccountInfo(String id){
		super(id);
	}

	public Long getOfficeId() {
		return officeId;
	}

	public void setOfficeId(Long officeId) {
		this.officeId = officeId;
	}
	
	@Length(min=0, max=20, message="账户类型长度必须介于 0 和 20 之间")
	public String getAttype() {
		return attype;
	}

	public void setAttype(String attype) {
		this.attype = attype;
	}
	
	public String getZamt() {
		return zamt;
	}

	public void setZamt(String zamt) {
		this.zamt = zamt;
	}
	
	public String getKamt() {
		return kamt;
	}

	public void setKamt(String kamt) {
		this.kamt = kamt;
	}
	
	public String getDamt() {
		return damt;
	}

	public void setDamt(String damt) {
		this.damt = damt;
	}
	
}